Total Complexity | 73 |
Dependencies | 8 |
Dependents | 0 |
Total lines | 389 |
Lines of code | 247 |
Logical lines of code | 136 |
Comment lines | 31 |
Methods | 12 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_subscription() | 37 | 34 | 58 | |
maybe_create_subscription() | 39 | 8 | 64 | |
pub_sub() | 48 | 9 | 32 | |
app_store_server_notification() | 53 | 6 | 24 | |
get_subscription_by_iap_subscription_id() | 58 | 3 | 15 | |
maybe_renew_subscription() | 59 | 3 | 14 | |
register_routes() | 58 | 1 | 17 | |
maybe_expire_subscription() | 73 | 2 | 5 | |
maybe_on_hold_subscription() | 73 | 2 | 5 | |
maybe_cancel_subscription() | 73 | 2 | 5 | |
maybe_re_subscription() | 73 | 2 | 5 | |
__construct() | 79 | 1 | 3 |